A suite of software programs is described which has been trained to operate a laboratory experiment or an industrial process, especially those which are highly complex and for which no accurate model exists. The “autonomous software agent” (Asa) is capable of operating in unknown and highly general environments while requiring no human assistance or manual tuning. Numerous design options, heuristics, and some test results are reported.